﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Best.SmartCms.Domain.Common;

namespace Best.SmartCms.Domain
{
    [Table("Department")]
    public class Department:BaseDomain
    {
        /// <summary>
        /// 部门名称
        /// </summary>
        [StringLength(50)]
        public string DepartmentName { get; set; }
        /// <summary>
        /// 部门编码
        /// </summary>
        [StringLength(50)]
        public string Code { get; set; }
        /// <summary>
        /// 上级部门Id
        /// </summary>
        public long? ParentId { get; set; }
        /// <summary>
        /// 部门简介
        /// </summary>
        [StringLength(500)]
        public string Summary { get; set; }
        /// <summary>
        /// 排序
        /// </summary>
        public int? Taxis { get; set; }
      
    }
}
